//
//  NSDictionary+Extension.m
//  yuikemall
//
//  Created by Gang.Wang on 12-5-29.
//  Copyright (c) 2012年 yuike. All rights reserved.
//

#import "NSDictionary+Extension.h"

@implementation NSDictionary (Extension)
+ (BOOL) isNilOrEmpty:(NSDictionary *) dictionary
{
    if (!dictionary ||
        [dictionary count] <= 0) {
        return TRUE;
    }
    return FALSE;
}

@end


@implementation NSMutableDictionary (Extension)
+ (BOOL) isNilOrEmpty:(NSMutableDictionary *) dictionary
{
    if (!dictionary ||
        [dictionary count] <= 0) {
        return TRUE;
    }
    return FALSE;
}

@end